from PIL import Image

name1 = '93.jpeg'

img1 = Image.open(name1)
n = 0

for i in range(img1.size[0]):
    for j in range(img1.size[1]):
        if n != 10:
            i1 = img1.getpixel((i,j))
            print(i1)
            n += 1

